﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/mspAdmin.Master"
    CodeBehind="AuthorManage.aspx.cs" Inherits="BookOnline.Admin.Include.AuthorManage" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder2">

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div style="margin-bottom: 10px;">
                <asp:Button ID="btnAddnew" runat="server" CssClass="buttonAdd" Text="Add New Author"
                    PostBackUrl="~/Admin/Include/AuthorAddnew.aspx" />
            </div>
            <asp:GridView ID="grAuthor" runat="server" AutoGenerateColumns="False" CssClass="grid-data"
                DataKeyNames="AuthorID">
                <Columns>
                    <asp:BoundField DataField="AuthorID" HeaderText="Author ID" />
                    <asp:BoundField DataField="AuthorName" HeaderText="Author Name" />
                    <asp:BoundField DataField="AuthorPhone" HeaderText="Author Phone" />
                    <asp:BoundField DataField="AuthorAddress" HeaderText="Author Address" />
                    <asp:TemplateField HeaderText="Edit">
                        <ItemTemplate>
                            <asp:LinkButton ID="lbtEdit" runat="server" CssClass="btnedit">LinkButton</asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Delete">
                        <ItemTemplate>
                            <asp:LinkButton ID="lbtDelete" runat="server" CssClass="btndel"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </ContentTemplate>
    </asp:UpdatePanel>
    <br />

</asp:Content>
